package com.ihisun.tmhcms.core.vo;


import com.ihisun.tmhcms.core.dto.editgiftbag.VipOnTheShelfCityDto;
import com.ihisun.tmhcms.core.dto.editgiftbag.VipPackageBannerDto;
import com.ihisun.tmhcms.core.dto.editgiftbag.VipPackageMechanismDto;
import com.ihisun.tmhcms.core.dto.mechanismdto.EditMechanismDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.util.List;

@ApiModel
@Data
@Entity
@Table(name = "v_vip_package")
public class VipPackageVo {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("礼包id")
    private String packageId;
    @ApiModelProperty("会员价格")
    private String vipPrice;
    @ApiModelProperty("礼包名称")
    private String packageName;
    @ApiModelProperty("礼包封面")
    private String packageCoverUrl;
    @ApiModelProperty("礼品类型  1:实物  2:项目")
    private String giftBagType;
    @ApiModelProperty("礼包库存")
    private String packageStock;
    @ApiModelProperty("会员销量")
    private String vipSalesVolume;
    @ApiModelProperty("状态   1:上架   2:下架")
    private Integer state;
    @ApiModelProperty("油费   1:包邮   2:不包邮")
    private String postage;
    @ApiModelProperty("礼品详情")
    private String packageInfo;
    @ApiModelProperty("创建时间")
    private String createTime;
    @ApiModelProperty("修改时间")
    private String updateTime;
    @ApiModelProperty("礼包banner")
    @Transient
    List<VipPackageBannerDto> vipPackageBannerDtos;
    @ApiModelProperty("礼包上架城市")
    @Transient
    List<VipOnTheShelfCityDto> vipOnTheShelfCityDtos;
    @ApiModelProperty("服务项目")
    @Transient
    private List<EditMechanismDto> mechanismEntity;
    @ApiModelProperty("礼包关联机构集合中间表")
    @Transient
    private List<VipPackageMechanismDto> vipPackageMechanismDtos;
    @ApiModelProperty("1代表全国  2代表部分")
    @Transient
    private String vipOnTheShelfCityType;
    @ApiModelProperty("邮费")
    private String specificPostage;


}
